Tag Link | [Email_Parse->Header] | Category | |
---|---|---|---|
Type | Member | Source Available | Yes |
Support | Preferred | Version | 8.0 |
Change | Unchanged | Data Source | Any |
Output Type | None | Security | None |
Implementation | LDML | Sets | Lasso 8.5, Lasso 8.0 |
[Email_Parse->Header] returns a single MIME header from the email message. If one header with the name is found then a string is returned. If multiple headers are found then an array of strings is returned. The
If an
Email headers are automatically decoded if they are sent using quoted
[Var: 'myMSG' = (Email_Parse: $myPOP->(Retrieve))]
[$myMSG->(Header: 'To')]
[$myMSG->(Header: 'Received',
Required Parameters | |
---|---|
Header | The name of the header to be fetched. |
Optional Parameters | |
-Join | Optional join value if multiple headers are found. If not specified (or set to null) then an array will be returned for multiple values. |
-Extract | Strips all comments from the returned header. |
-Comment | Returns only comments from the header. |
-SafeEmail | Returns the header with any contained email addresses obscured. |
-NoDecode | Suppresses the automatic quoted |
The
See the Lasso 8 Language Guide for examples of how to use this tag.